<!DOCTYPE html>

<html lang="zh_cn">
<head>
	<meta charset="UTF-8">
	<title>网页部件测试</title>	
	<link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap.min.css">
	<link href="__PUBLIC__/bootstrap/css/bootstrap.datepicker/bootstrap-datepicker3.min.css" rel="stylesheet" />
	<script src="__PUBLIC__/bootstrap/js/jquery.min.js"></script>
	<script src="__PUBLIC__/bootstrap/js/bootstrap/bootstrap.min.js"></script>
	 <script src="__PUBLIC__/bootstrap/js/bootstrap.datepicker/js/bootstrap-datepicker.min.js"></script>
    <script src="__PUBLIC__/bootstrap/js/bootstrap.datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
    <script type="text/javascript">
    $(function () {
        $(".datepicker").datepicker({
            language: "zh-CN",
            autoclose: true,//选中之后自动隐藏日期选择框
            clearBtn: true,//清除按钮
            todayBtn: true,//今日按钮
            format: "yyyy-mm-dd"//日期格式，详见 http://bootstrap-datepicker.readthedocs.org/en/release/options.html#format
        });
    });
</script>          
</head>
<body style="margin:100px">


<!-- <input type="text" class="datepicker" placeholder="请选择日期" /> -->


<div class="modal fade" id="myModal" tabindex="1">
	<div class="modal-dialog" >
		<div class="modal-content">
			<div class="modal-header">
				<button class="close" data-dismiss="modal"><span>&times;</span></button>
				<h4 class="modal-title">会员登录</h4>
			</div>
			<div class="modal-body">
				<div class="container-fluid">
					<div class="row">
						<td>1</td>
						<div class="datebox1" id="datebox1">
							<input type="text" class="datepicker" placeholder="请选择日期" name="date"/>
						</div>
						<td>2</td>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button class="btn btn-dafault">注册</button>
				<button class="btn btn-primary">登录</button>
			</div>
		</div>
	</div>
</div>
<button class="btn btn-primary btn-lg"  href="{:U('Depart/Index/modal')}" data-toggle="modal" data-target="#myModal">点击弹窗</button> 
<!-- <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">点击弹窗</button> -->


</body>
</html>